.Net Framework > v1.1.4322 > System > Drawing > Font > GetHeight GetHeight()
GetHeight(Graphics)
GetHeight(Single)


GetHeight()

Category
Method
Description
Returns the line spacing, in pixels, of this font. The line spacing is the vertical distance between the base lines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of the character itself.
Type
Single
Character
public
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

GetHeight(Graphics)

Category
Method
Description
Returns the line spacing, in the current unit of a specified System.Drawing.Graphics object, of this font. The line spacing is the vertical distance between the base lines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of the character itself.
Type
Single
Character
public
Parameters
NameTypeDescription
graphicsGraphics
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

GetHeight(Single)

Category
Method
Description
Returns the height, in pixels, of this System.Drawing.Font object when drawn to a device with the specified vertical resolution.
Type
Single
Character
public
Parameters
NameTypeDescription
dpiSingle
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database